﻿using RockBus.BufferManager.Interfaces;
using RockBus.DataContracts;
using System;

namespace RockBus.Configuration.Interfaces
{
    public interface IReadOnlyConfiguration
    {
        InternalConfiguration InternalConfiguration { get; }

        SubscriberConfiguration SubscriberConfiguration { get; }

        PublisherConfiguration PublisherConfiguration { get; }

        event EventHandler<EventArgs> OnChanged;

        void Refresh();
    }
}
